#ifndef GAME_H
#define GAME_H

#include <iostream>
#include <vector>

#include "movables.h"
#include "digdug.h"
#include "monster.h"
#include "global_variables.h"

using namespace std;
const int _grid_size = 90; 

class Game
{
public:

	Game (vector<vector<int>> &_level_data);
	Game ();
	void update(Direction dir);
//	void get_pixel_size (const int );
	Digdug _dig_dug; //DONT FORGET TO MAKE HIM PRIVATE AGAIN!!!!
	Move_status move_Digdug(Digdug &movable, const Direction &direction);


private:
	
	
	vector<vector<Movable_type>> _screen_map;
	

	void game_loop();
	void init_game(vector<vector<int>> &_level_data);
		
	
	void populate_map(vector<vector<int>>);
	void init_game();

	vector<vector<Movable_type>> generate_default_map();

};

#endif